Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.forum.layouts--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.forum.layouts inside nuxeo-platform-forum-6.0.jar

Extension Point

Extension point widgettypes of component WebLayoutManager.

Contributed Items

  • <widgetType name="forum_post_info">
          <configuration>
            <sinceVersion>5.8</sinceVersion>
            <title>Forum post information</title>
            <description>
              <p>This widget type displays information about a post</p>
              <p>
                It requires the following fields configuration:
                <ul>
                  <li>
                    first field maps the document representing the forum post.
                  </li>
                </ul>
              </p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
            </fields>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/forum_post_info.xhtml
          </property>
        </widgetType>

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widgetType name="forum_post_info">
      <configuration>
        <sinceVersion>5.8</sinceVersion>
        <title>Forum post information</title>
        <description>
          <p>This widget type displays information about a post</p>
          <p>
            It requires the following fields configuration:
            <ul>
              <li>
                first field maps the document representing the forum post.
              </li>
            </ul>
          </p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
        </fields>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/forum_post_info.xhtml
      </property>
    </widgetType>

  </extension>